<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SiliconFlow - 重塑AI计算的未来</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
        }
        .serif-font {
            font-family: 'Noto Serif SC', serif;
        }
        .gradient-text {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .drop-cap::first-letter {
            float: left;
            font-size: 4rem;
            line-height: 3rem;
            padding-right: 0.5rem;
            margin-top: 0.5rem;
            font-weight: 700;
            color: #667eea;
        }
        pre {
            background: #1a202c;
            color: #e2e8f0;
            padding: 1.5rem;
            border-radius: 0.5rem;
            overflow-x: auto;
        }
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        .float-animation {
            animation: float 3s ease-in-out infinite;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-24 px-6">
        <div class="max-w-6xl mx-auto text-center">
            <h1 class="text-5xl md:text-7xl font-bold mb-6 serif-font">SiliconFlow</h1>
            <p class="text-2xl md:text-3xl mb-8 font-light">重塑AI计算的未来</p>
            <p class="text-lg md:text-xl max-w-3xl mx-auto leading-relaxed opacity-90">
                在人工智能快速发展的今天，高效的 AI 训练和推理基础设施变得尤为重要。SiliconFlow 作为一家专注于 AI 计算平台的创新公司，正致力于通过先进的软硬件解决方案，帮助开发者和企业更高效地构建和部署 AI 模型。
            </p>
            <div class="mt-12">
                <a href="https://siliconflow.cn/zh-cn/" class="inline-block bg-white text-purple-700 px-8 py-4 rounded-full font-semibold text-lg hover:bg-gray-100 transition duration-300">
                    <i class="fas fa-rocket mr-2"></i>开始探索
                </a>
            </div>
        </div>
    </section>

    <!-- Core Technology Section -->
    <section class="py-20 px-6">
        <div class="max-w-6xl mx-auto">
            <h2 class="text-4xl font-bold text-center mb-4 serif-font">核心技术与产品</h2>
            <p class="text-xl text-gray-600 text-center mb-16">全栈AI解决方案，软硬件完美结合</p>
            
            <!-- Technology Architecture Diagram -->
            <div class="bg-white rounded-2xl shadow-xl p-8 mb-16">
                <h3 class="text-2xl font-semibold mb-6 text-center">SiliconFlow 技术架构</h3>
                <div class="mermaid">
                    graph TB
                        A[SiliconFlow 全栈解决方案] --> B[软件平台]
                        A --> C[硬件设备]
                        B --> D[Flow OS<br/>AI计算操作系统]
                        B --> E[Flow Compiler<br/>AI编译优化]
                        C --> F[Flow Cluster<br/>AI计算集群]
                        D --> G[分布式训练]
                        D --> H[动态内存管理]
                        D --> I[异构计算优化]
                        E --> J[算子融合]
                        E --> K[自动量化]
                        F --> L[高带宽互联]
                        F --> M[高密度计算]
                        
                        style A fill:#667eea,stroke:#fff,color:#fff
                        style B fill:#8b5cf6,stroke:#fff,color:#fff
                        style C fill:#8b5cf6,stroke:#fff,color:#fff
                </div>
            </div>

            <!-- Product Cards -->
            <div class="grid md:grid-cols-3 gap-8">
                <!-- Flow OS Card -->
                <div class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-brain"></i>
                    </div>
                    <h3 class="text-2xl font-bold mb-4 serif-font">Flow OS</h3>
                    <p class="text-gray-600 mb-6">专为 AI 计算优化的分布式操作系统</p>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>分布式训练支持，高效协调多设备计算资源</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>动态内存管理，提高 GPU 显存利用率</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>异构计算优化，充分利用不同硬件优势</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>自动并行化，提高吞吐量和训练效率</span>
                        </li>
                    </ul>
                </div>

                <!-- Flow Cluster Card -->
                <div class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-server"></i>
                    </div>
                    <h3 class="text-2xl font-bold mb-4 serif-font">Flow Cluster</h3>
                    <p class="text-gray-600 mb-6">专为大规模 AI 工作负载设计的计算集群</p>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>高带宽互联，最小化通信开销</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>高密度计算，提高空间利用率</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>高效冷却系统，保证高算力稳定性</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>灵活扩展，满足不同规模训练需求</span>
                        </li>
                    </ul>
                </div>

                <!-- Flow Compiler Card -->
                <div class="bg-white rounded-xl shadow-lg p-8 card-hover">
                    <div class="text-5xl mb-4 feature-icon">
                        <i class="fas fa-code"></i>
                    </div>
                    <h3 class="text-2xl font-bold mb-4 serif-font">Flow Compiler</h3>
                    <p class="text-gray-600 mb-6">将 AI 模型转换为高效硬件指令</p>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>算子融合，减少内存访问</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>内存规划，优化张量布局</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>自动量化，平衡精度和性能</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-purple-600 mt-1 mr-3"></i>
                            <span>硬件特定优化，生成优化指令</span>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </section>

    <!-- Code Examples Section -->
    <section class="py-20 px-6 bg-gray-100">
        <div class="max-w-6xl mx-auto">
            <h2 class="text-4xl font-bold text-center mb-16 serif-font">代码示例</h2>
            
            <div class="grid md:grid-cols-2 gap-8">
                <!-- Flow OS Example -->
                <div class="bg-white rounded-xl shadow-lg p-8">
                    <h3 class="text-2xl font-semibold mb-4">Flow OS 分布式训练</h3>
                    <pre><code># Flow OS 示例代码 - 简化的分布式训练配置
import flowos

# 初始化分布式环境
flowos.init(backend="nccl")

# 自动分配计算资源
with flowos.distribute_strategy(strategy="data_parallel"):
    # 定义模型和训练循环
    model = MyLargeModel()
    
    # Flow OS 会自动处理数据分片、梯度同步等
    for epoch in range(num_epochs):
        for batch in dataloader:
            outputs = model(batch)
            loss = loss_fn(outputs, batch.labels)
            loss.backward()
            optimizer.step()</code></pre>
                </div>

                <!-- Flow Compiler Example -->
                <div class="bg-white rounded-xl shadow-lg p-8">
                    <h3 class="text-2xl font-semibold mb-4">Flow Compiler 优化</h3>
                    <pre><code># Flow Compiler 使用示例
import flowos.compiler as flc

# 定义原始模型
model = MyTransformerModel()

# 使用 Flow Compiler 优化模型
optimized_model = flc.optimize(
    model,
    target_hardware="flow_gpu",
    optimization_level=3,
    enable_quantization=True,
    quantization_scheme="int8_with_fp16_fallback"
)

# 使用优化后的模型进行推理
outputs = optimized_model(inputs)</code></pre>
                </div>
            </div>
        </div>
    </section>

    <!-- Advantages Section -->
    <section class="py-20 px-6">
        <div class="max-w-6xl mx-auto">
            <h2 class="text-4xl font-bold text-center mb-16 serif-font">技术优势与实际应用</h2>
            
            <div class="grid md:grid-cols-3 gap-8 mb-16">
                <!-- Training Efficiency -->
                <div class="text-center">
                    <div class="text-6xl mb-4 gradient-text float-animation">
                        <i class="fas fa-rocket"></i>
                    </div>
                    <h3 class="text-2xl font-bold mb-2">大规模训练效率提升</h3>
                    <p class="text-4xl font-bold gradient-text mb-2">30-50%</p>
                    <p class="text-gray-600">训练吞吐量提升</p>
                </div>

                <!-- Inference Performance -->
                <div class="text-center">
                    <div class="text-6xl mb-4 gradient-text float-animation" style="animation-delay: 0.5s;">
                        <i class="fas fa-tachometer-alt"></i>
                    </div>
                    <h3 class="text-2xl font-bold mb-2">推理性能优化</h3>
                    <p class="text-4xl font-bold gradient-text mb-2">2-3x</p>
                    <p class="text-gray-600">推理速度提升</p>
                </div>

                <!-- Developer Experience -->
                <div class="text-center">
                    